<div class="wallpaper">
    <div class="full-box" id="work">
        <app-icon
        :dataSource='app'
        @openWindow='openWindow'
        @openMenu='openIconMenu'>
        </app-icon>
        <div 
        v-if='list.length' 
        v-for='item in list' 
        :key='item.pid'>
            <div v-if="item.name==='Edge'">
                <edge
                :dataSource='item.child'
                :selected='isSelected'
                :searchValue='searchValue'
                :currentPage='currentPage'
                :loading="loading"
                @select='handleSelect'
                @zoom='handleZoom'
                @hide='hideWindow'
                @close='handleClose'
                @changeTab='handleChangeTab'
                @closeTab='handleCloseTab'
                @addTab='handleAddTab'
                @history='handlePageHistory'
                @refresh='handleRefresh'
                @load="iframeLoad"
                @search='searchUrl'>
                </edge>
            </div>

            <div v-else-if="item.name==='文件管理器'">
                <file-explorer 
                :dataSource='item.child'
                :selected='isSelected'
                @select='handleSelect'
                @zoom='handleZoom'
                @hide='hideWindow'
                @close='handleClose'>
                </file-explorer>
            </div>

            <div v-else>
                <common-window
                :dataSource='item.child'
                :selected='isSelected'
                :loading="loading"
                @select='handleSelect'
                @zoom='handleZoom'
                @hide='hideWindow'
                @load="iframeLoad"
                @close='handleClose'>
                </common-window>
            </div>
        </div>
        <left-menu :visible='leftmenuVisible' :timeDate='time'></left-menu>
        <calendar-menu :visible='dateVisible'></calendar-menu>
        <control-menu :visible='controlmenuVisible'></control-menu>
        <home-menu :visible='homemenuVisible' :app='app' @close='closeMenu' @open='openWindow'></home-menu>
    </div>
    <bottom-nav
    :dataSource='list'
    :time='time'
    :date='date'
    @openWindow='openWindow'
    @openMenu='openMenu'
    @showWindow='showWindow'>
    </bottom-nav>

    <!-- <desktop-menu 
    :left='fileMenu.left' 
    :top='fileMenu.top' 
    :visible='fileMenu.visible'
    @refresh='init'
    @createFolder='createFolder'>
    </desktop-menu> -->
    <icon-menu :value='iconMenu.appData' :left='iconMenu.left' :top='iconMenu.top' :visible='iconMenu.visible'></icon-menu>
    <desktop-menu :left='desktopMenu.left' :top='desktopMenu.top' :visible='desktopMenu.visible' @refresh='init'></desktop-menu>
</div>